package com.qinge.blog.service;

import com.github.pagehelper.PageInfo;
import com.qinge.blog.entity.BlogRole;
import com.qinge.blog.entity.BlogUser;
import com.qinge.blog.vo.paging.PagingReqVO;

import java.util.List;

/**
 * @author QDW
 * @date 2022-05-02 23:38:51
 * @description BlogRole service层类
 */
public interface BlogRoleService  {
    void add(BlogRole... blogRoles);

    void addByList(List<BlogRole> blogRoles);

    void removeById(String id);

    void removeBatchByIds(List<String> ids);

    void update(BlogRole blogRole);

    void upsert(BlogRole blogRole);

    BlogRole findById(String id);

    List<BlogRole> findByIds(List<String> ids);

    PageInfo<BlogRole> findAll();

    PageInfo<BlogRole> findAll(PagingReqVO<BlogRole> pagingReqVO);

    PageInfo<BlogRole> paging(PagingReqVO<BlogRole> pagingReqVO);
}

